<?php


/**
 * Skeleton subclass for performing query and update operations on the 'seo_sites_paths' table.
 *
 * 
 *
 * You should add additional methods to this class to meet the
 * application requirements.  This class will only be generated as
 * long as it does not already exist in the output directory.
 *
 * @package    lib.model
 */
class SeoSitePathPeer extends BaseSeoSitePathPeer {


	/**
	 * Retrieve all records by site id
	 *
	 * @param      int $siteId
	 * @param      PropelPDO $con the connection to use
	 * @return     array<SeoSitePath>
	 */
	public static function retrieveBySiteId($siteId, PropelPDO $con = null)
	{
		$criteria = new Criteria(SeoSitePathPeer::DATABASE_NAME);
		$criteria->add(SeoSitePathPeer::SITE_ID, $siteId);

		return SeoSitePathPeer::doSelect($criteria, $con);
	}
	
} // SeoSitePathPeer
